package crazy.interfacee;

public class TestConversion
{
	public static void main(String[] args)
	{
		double d = 13.4;
		long l = (long) d;
		System.out.println(l);
		
		Object obj = "Hello";
		
		String strObj = (String) obj;
		System.out.println(strObj);
		
		Object objPri = new Integer(5);
		if (objPri instanceof Integer)
		{
			Integer aInteger = (Integer) objPri;
			System.out.println("Y");
		}
		else
		{
			System.out.println("N");
		}
	}
}
